package com.openbravo.bean;

public class PaymentInfoStoreCard extends PaymentInfo {
    
    /**
	 * 
	 */
	private static final long serialVersionUID = -7998903599815161625L;
	private double m_dTotal;
    protected String m_sCardID;
    
    /** Creates a new instance of PaymentInfoFree */
    public PaymentInfoStoreCard(double dTotal,String m_sCardID) {
        m_dTotal = dTotal;
        this.m_sCardID=m_sCardID;
    }
    
    public PaymentInfo copyPayment(){
        return new PaymentInfoStoreCard(m_dTotal,m_sCardID);
    }    
    
    public String getName() {
        return "storeCard";
    }   
    public double getTotal() {
        return m_dTotal;
    }
    public String getTransactionID(){
        return m_sCardID;
    }

    public String getCardId(){
    	return m_sCardID;
    }
    
}
